import $mUtils from '@/common/utils'
import store from '@/store'

export default {
	onUnload() {
		store.state.progress(-1)
	},
	methods: {
		CustomBack() {
			$mUtils.customBack()
		},
		// 七牛域名
		qiniu(url: string, width = 750, type = 'image') {
			return $mUtils.qiniu(url, width, type)
		}
	}
}
